﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace GameObjectsAndEquipment
{
    public class Sprite : GameObject
    {
        private Texture2D texture;
        
        private int height;
        private int width;

        private Boolean isVisible = true;

        public Sprite(Vector2 position, Texture2D texture)
            :base(position)
        {
            this.texture = texture;
            width = texture.Width;
            height = texture.Height;
        }

        public Texture2D Texture
        {
            get { return texture; }
            set { texture = value; }
        }

        public int Height
        {
            get { return height; }
        }

        public int Width
        {
            get { return width; }
        }

        public Boolean IsVisible
        {
            get { return isVisible; }
            set { isVisible = value; }
        }

        public override void Update(GameTime gametime)
        {
            base.Update(gametime);
        }
    }
}
